
package shopsim.gui;

public class MallfieldThread extends Thread{
	
	private boolean keepAlive;
	
	public MallfieldThread(){
	
	}
	
	public void run(){
		Mallfield mall = new Mallfield(null, null);
		keepAlive = true;
		
		while(keepAlive){
			mall.repaint();
		}
	}
	
	public void stopThread(){
		keepAlive = false;
	}
}
